<template>
  <div class="article-detail">
    <el-card>
      <h1 class="article-title">示例文章标题</h1>
      <div class="article-meta">
        <span>作者: Admin</span>
        <span>发布时间: 2024-01-01</span>
        <span>阅读数: 100</span>
      </div>
      <div class="article-content">
        <p>这是文章的详细内容...</p>
        <p>目前显示的是静态内容，后续会从后端获取真实数据。</p>
      </div>
    </el-card>
  </div>
</template>

<script setup>
import { useRoute } from 'vue-router'

const route = useRoute()
const articleId = route.params.id
</script>

<style scoped>
.article-detail {
  padding: 20px;
}

.article-title {
  margin: 0 0 20px 0;
  font-size: 24px;
}

.article-meta {
  color: #666;
  margin-bottom: 30px;
  font-size: 14px;
}

.article-meta span {
  margin-right: 20px;
}

.article-content {
  line-height: 1.8;
  color: #333;
}
</style> 